package com.beney.common;

import com.beney.pojo.User;

/**
 * 测试用于制造数据
 *
 * @author Beney
 */
public class Mock {
    private Mock() {
    }

    private static final User MOCK_USER = new User();

    public static User GetMockUser(String name, String pwd) {
        MOCK_USER.setIdentity(Identity.XIAO_XUE);
        MOCK_USER.setName(name);
        MOCK_USER.setPwd(pwd);
        return MOCK_USER;
    }
}
